// component/statisticiansList/statisticiansList.js
Component({

  /**
   * 组件的属性列表
   */
  properties: {
    obj: {
      type: Object,
      value: {}
    },
    allMoneyData: {
        type: Object,
        value: {}
    },
    share: {
      type: String,
      value: ''
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    goDetail(e) {
        wx.navigateTo({
          url: `/pages/monneyManagement/index?type=${e.currentTarget.dataset.type}`,
        })
    },

    goReview(e) {
        wx.navigateTo({
          url: `/pages/review/index?balance=${e.currentTarget.dataset.total}`,
        })
    }
  }
})